<div class=" column">
<!--友好提示1-->
<div class="tip-box friendly-tip-box">
	<div class="friendly-tip p13">
		<div class="invite-tipbox"><span class="fixie6png tip-icon friendly-tip-icon"></span>邀请朋友加入漫画国际</div>
		<p>将此邀请链接地址发送给你的朋友（QQ、MSN等），对方加入后即可自动邀请对方成为你的好友。建议将邀请链接放在我的签名中。</p>
	</div>
</div>

<div class="dashed-sepline mt26"></div>
<!--invite-box-->
<div class="invite-box mt26">
<div class="floating-hover">邀请链接： <input type="text" value="<?= $this->ret['data']['url']?>" size="80" name="title" onclick='if(copyInputString(this)){Tooltip.show(event, "<div class=\"floating-tip\"><span>邀请链接复制成功！</span>请在QQ或MSN中将此链接粘贴进去(Ctrl+V)</div>", null, "hor");}' onblur='Tooltip.close(event)'/>
<p class="gray">(点击即可复制链接) </p>
</div>

<div class="mt13">邀请留言： <textarea cols="60" rows="3" id="desc" name="desc" <?= ($this->ret['data']['txt'])?"desc='1'":"desc='0'"?> onclick="if(this.getAttribute('desc')==0){this.value='';this.setAttribute('desc', 1)}"><? if($this->ret['data']['txt']):?><?= $this->ret['data']['txt']?><?else:?>附加信息选填（200字以内），当好友点击以上地址后会看到你的留言。 <?endif;?></textarea>
</div>

<div class="leftfix mt13"><button class="cbtn" onclick="save_desc();this.disabled=true">保存留言</button></div>
<div class="clearfix"></div>
</div>
<!--end invite-box-->
<div class="solid-sepline mt26"></div>

<div class="mt13 gray p13">
<p class="standardp">漫画国际公司说明说明说明</p>
</div>
</div>
<script>
function save_desc(){
	var txt = '';
	if($("desc").getAttribute('desc')==0){
		txt = '';
	}else{
		txt = $('desc').value;
		new Ajax.Request('/?friend=1&_app=friends&_controller=invitation&_action=save_desc', {
			parameters: $H({desc: txt}).toQueryString(),
			onComplete: function(transport){
				var ret = transport.responseText.evalJSON();
				location.href = '/?friend=1&_app=friends&_controller=invitation&_action=invite_form';
			}
		})
	}
}
</script>